#!/bin/bash

#
xrandr --output Virtual-1 --mode 1920x1080

#wallpaper
#nitrogen --restore
feh --bg-fill ~/Downloads/xxx.jpg

#picom-opacity
picom &

#backlight
#xsetroot -name "L`xbacklight | cut -d. -f1`"

#电池
#xsetroot -name "E`acpi | cut -d, -f2`"

#sounds
#xsetroot -name "amixer get Master"

#time
#xsetroot -name "$(date +%m.%H.w%' '%T)"

#while true
#do
#	BT=`acpi | cut -d, -f2`
#	VO=`amixer get Master | sed -n '$p' | cut -d[ -f2 | cut -d] -f1`
#	DA=`date +%m.%H.%w' '%T`
#	xsetroot -name "BT:${BT}|S:${VO}|${DA}"
#	sleep 1s
#done &

#input-method
fcitx5 &


/bin/bash $DWM/scripts/dwm-status.sh &
#/bin/bash ~/scripts/wp-autochange.sh &
#picom -o 0.95 -i 0.88 --detect-rounded-corners --vsync --blur-background-fixed -f -D 5 -c -b
#picom -b
#/bin/bash ~/scripts/tap-to-click.sh &
#/bin/bash ~/scripts/inverse-scroll.sh &
#/bin/bash ~/scripts/setxmodmap-colemak.sh &
#nm-applet &
#xfce4-power-manager &
#xfce4-volumed-pulse &
#/bin/bash ~/scripts/run-mailsync.sh &
#~/scripts/autostart_wait.sh &
